package com.patterns.demo.abstractFactory.factory.impl;

import com.patterns.demo.abstractFactory.factory.Factory;
import com.patterns.demo.abstractFactory.method.impl.MailSender;
import com.patterns.demo.abstractFactory.method.Sender;

/**
 * Author: SamGroves
 * <p>
 * Description: 发邮件的工厂类
 * <p>
 * Date: 2017/11/28
 */
public class SendMailFactory implements Factory {

    @Override
    public Sender produce() {
        return new MailSender();
    }
}
